package com.newlink.building.login.mvp.contract

import com.newlink.building.common_base.base.IModel
import com.newlink.building.common_base.base.IPresenter
import com.newlink.building.common_base.base.IView
import com.newlink.building.common_base.model.bean.HttpResult
import com.newlink.building.common_base.model.bean.VerifyCodeRequest
import io.reactivex.Observable


interface Module_Login_InputMobileContract {

    interface View : IView {
        fun sendSMSSusscess(success: Boolean)
    }

    interface Presenter : IPresenter<View> {
        fun sendSMS(request: VerifyCodeRequest)
    }

    interface Model : IModel {
        fun sendSMS(request: VerifyCodeRequest): Observable<HttpResult<Boolean?>>
    }

}